package com.wang.cloudstorage.db;

import com.wang.cloudstorage.db.dao.INodeDAO;
import com.wang.cloudstorage.db.dao.INodeDAOImpl;

public class DAOFactory {
	DatabaseClient databaseClient = null;
	public DAOFactory(DatabaseClient databaseClient)
	{
		this.databaseClient = databaseClient;
	}
	
	public INodeDAO getINodeDAO(String iNodeString)
	{
		INodeDAO iNodeDAO = new INodeDAOImpl(databaseClient, iNodeString);
		return iNodeDAO;
	}
}
